package com.global.college.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.global.college.MainActivity;
import com.global.college.R;
import com.global.college.UserData;
import com.global.college.base.BaseActivity;
import com.global.college.constants.Constant;
import com.global.college.ui.interfaces.ICacheView;
import com.global.college.utils.AppManagerUtils;
import com.global.college.utils.CommonUtils;
import com.global.college.utils.HsSetCacheUtil;
import com.global.college.utils.PrefUtils;
import com.global.college.utils.ToastUtils;
import com.gyf.barlibrary.ImmersionBar;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 设置中心
 */
public class WelcomeActivity extends BaseActivity  {


    @Override
    public int getContentViewId() {
        return R.layout.activity_welcome;
    }

    @Override
    public void onCreateNew(Bundle savedInstanceState) {
        setShowTitleBar(false);
        ImmersionBar.with(this)
                .statusBarColor(R.color.dark_blue)
                .statusBarDarkFont(true)
                .init();
    }

    @Override
    public void getInitData() {
        PrefUtils.setBoolean(Constant.IsFirstLogin,false);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @OnClick({R.id.iv_go})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_go:
                returnMainActivity(WelcomeActivity.this);
                break;
        }
    }

}